package com.bana.fvs.app.util

import java.text.SimpleDateFormat

/**
 * Created by weisl on 2018/5/24.
 */
class DateUtils {
    companion object {
        fun localDateToMill(regex: String, date: String): Long {
            var format = SimpleDateFormat(regex)
            return format.parse(date).time
        }
    }
}